import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { WarpperComponent } from './views/warpper/warpper.component';
import { AppComponent } from './app.component';
import { LoginComponent } from './login/login.component';

const routes: Routes = [
  { path: '', redirectTo: 'login', pathMatch: 'full'},
  { path: 'warpper', component: WarpperComponent }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule],
  providers: []
})
export class AppRoutingModule { }
